home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch15 / 15fig15.wrl < prev    next >
Text File  |  1996-09-23  |  745b  |  44 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material {
  8.             diffuseColor 1.0 0.5 0.0
  9.         }
  10.     }
  11.     geometry Extrusion {
  12.         creaseAngle 0.785
  13.         crossSection [
  14.         # Square
  15.             -1.0  1.0,   1.0  1.0,
  16.              1.0 -1.0,  -1.0 -1.0,
  17.             -1.0  1.0
  18.         ]
  19.         spine [
  20.         # Straight-line
  21.             0.0 0.0 0.0,
  22.             0.0 0.5 0.0,
  23.             0.0 1.0 0.0,
  24.             0.0 1.5 0.0,
  25.             0.0 2.0 0.0,
  26.             0.0 2.5 0.0,
  27.             0.0 3.0 0.0,
  28.             0.0 3.5 0.0,
  29.             0.0 4.0 0.0
  30.         ]
  31.         orientation [
  32.             0.0 1.0 0.0 0.0,
  33.             0.0 1.0 0.0 0.175,
  34.             0.0 1.0 0.0 0.349,
  35.             0.0 1.0 0.0 0.524,
  36.             0.0 1.0 0.0 0.698,
  37.             0.0 1.0 0.0 0.873,
  38.             0.0 1.0 0.0 1.047,
  39.             0.0 1.0 0.0 1.222,
  40.             0.0 1.0 0.0 1.396,
  41.         ]
  42.     }
  43. }
  44.